package gov.ccswj.modules.apibusiness.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import gov.ccswj.modules.apibusiness.dao.PreciseInvestmentDao;
import gov.ccswj.modules.apibusiness.service.PreciseInvestmentService;



@Service("preciseInvestmentService")
public class PreciseInvestmentServiceImpl implements PreciseInvestmentService {

	@Autowired
	private PreciseInvestmentDao preciseInvestmentDao;

	
	@Override
	public List<Map<String, Object>> query(String area, Integer type, Integer industry) {
		return preciseInvestmentDao.query(area,type,industry);
	}


	@Override
	public List<Map<String, Object>> policy() {
		return preciseInvestmentDao.policy();
	}


	@Override
	public List<Map<String, Object>> industrypark(String s, Integer n) {
		Integer ss= Integer.valueOf(s);
		return preciseInvestmentDao.industrypark((ss)*n,n);
	}


	@Override
	public List<Map<String, Object>> policyid(Integer id) {
		return preciseInvestmentDao.policyid(id);
	}


	@Override
	public int count(String string) {
		return preciseInvestmentDao.count(string);
	}


	@Override
	public List<Map<String, Object>> famouscompany(String s, Integer n) {
		
		Integer ss= Integer.valueOf(s);
		
		return preciseInvestmentDao.famouscompany((ss)*n,n);
	}


	@Override
	public List<Map<String, Object>> industry() {
		return preciseInvestmentDao.industry();
	}


	@Override
	public List<Map<String, Object>> keyindustry(String s, Integer n, Integer type) {
		Integer ss= Integer.valueOf(s);
		return preciseInvestmentDao.keyindustry((ss)*n,n,type);
	}
	
}
